<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            border-top: 3px solid orangered;
            border-bottom: 1px solid gray;
        }
        .box > a{
            width: 100px;
            height: 50px;
            display: inline-block;
            text-align: center;
            line-height: 50px;
        }
        .box > a:hover{
            background-color: #d2d2d2;
            color: orangered;
        }
        .box a {
            text-decoration: none;
            color: rgb(64, 64, 64);
        }
    </style>
</head>
<body>
    <div class="box">
        <a href="">新浪导航</a>
        <a href="">新浪导航</a>
        <a href="">新浪导航</a>
        <a href="">新浪导航</a>
    </div>
</body>
</html>